﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Web.PageUI.Page_Product
{
    public class Detail:BaseDetail
    {
        public Detail()
        {
            this.Load += new EventHandler(Detail_Load);
        }

        private void Detail_Load(object sender, EventArgs e)
        {

        }

        //public int GetProductNavId(int channelid)
        //{
        //    int navid = 0;
        //    dynamic parentChannel = BLL_Channel.GetModel_1("Id=@Id and States=1", channelid);
        //    if (parentChannel.ParentId == 0)
        //    {
        //        navid = parentChannel.Id;
        //    }
        //    else
        //    {
        //        return GetProductNavId(parentChannel.ParentId);
        //    }
        //    return navid;
        //}
    }
}
